﻿*, *:before, *:after
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body
{
    margin: 0;
    height: 100%;
    overflow: hidden;
    font-family: 微软雅黑;
    font-size: 14px;
}

a
{
    text-decoration: none;
}


/*navbar*/
.navbar
{
    width: 100%;
    height: 46px;
    /*background: #4664e6;*/
    background-color: #007ACC;
    color:#fff;
}
.navbar-left
{
    display: block;
    width: 175px;
    height: 46px;
    float: left;
    padding-left: 15px;
    position: relative;
    /*background: #4664e6;*/
    background-color: #007ACC;
}
.navbar-logo
{
    display: block;
    border: none;
    width:85%;
    height: 22px;
    margin: 10px auto;
    cursor: pointer;
}
.navbar-toggle
{
    display: block;
    filter: alpha(opacity=30);
    opacity: .3;
    width: 20px;
    height: 46px;
    background: #fff;
    line-height: 46px;
    cursor: pointer;
    text-align: center;
    border-radius: 0 5px 5px 0;
    float:left;
    color:#666;
    
}
.navbar-right
{	
    position: absolute;
    left: 170px;
    top: 0;
    height: 46px;
    width: 89%;
}
.navbar-nav
{
    float: left;
    margin: 0;
}
.navbar-nav > li
{   
    height: 46px;
    list-style: none;
    cursor: pointer;
    position: relative;
    display: block;
    line-height: 46px;
}
.application{
	/*margin-right: 50%;*/
}

.navbar-nav-pay
{
	float: left;
    padding-left: 15px;
   
}
.navbar-nav-pay i
{
    font-size: 18px;
    vertical-align: middle;
}
.navbar-nav-pay span {
     padding-right: 15px;
    border-right: 2px solid #175D28;
}
.navbar-nav-message, .navbar-nav-comment
{
	float: right;
    margin-left: 20px;
    margin-right: 20px;
}

.navbar-nav-message i, .navbar-nav-comment i
{
    font-size: 25px;
    vertical-align: middle;
    line-height: 46px;
}

.navbar-nav-message span
{
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    background-color: #f00;
    border-radius: 50%;
    overflow: hidden;
    color: #fff;
    text-align: center;
    right: -10px;
    top: 4px;
}
.navbar-nav-draopdown
{
	float: right;
    width: 100px;
    padding-right: 10px;
}
.userInfo-top
{
    height: 23px;
    line-height: 25px;
    font-size: 12px;
    text-align: center;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}
.userInfo-bottom
{
    width: 100%;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 20px;
    height: 23px;
    font-size: 12px;
    text-align: center;
    display: block;
}

.userInfo i
{
    position: absolute;
    top: 13px;
    right: 5px;
    color: #fff;
}
.userInfo-img
{
	float: right;
    margin-left: 20px;
    margin-right: 20px;
}
.userInfo-img-wrap
{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    float: right;
    margin-top: 8px;
}
.userInfo-img-wrap img
{
    width: 100%;
    height: 100%;
}




.dropdown-menu
{
    position: absolute;
    top: 46px;
    display: none;
    float: left;
    width: 150px;
    line-height: 1.4;
    padding: 5px 0;
    margin: 2px -25px 2px 0;
    list-style: none;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 6px rgba(0,0,0,.2);
    z-index: 2000;
}

.dropdown-menu > li > a
{
    display: block;
    clear: both;
    color: #666;
    white-space: nowrap;
    outline: none;
    line-height: 30px;
    height: 30px;
    /*text-align: center;*/
    margin-left:5px;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus
{
    color: #31c17b;
    text-decoration: none;
}

.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus
{
    color: #777;
    text-decoration: none;
    cursor: not-allowed;
    background-color: transparent;
    background-image: none;
}
.dropdown-menu i
{
    padding-right: 5px;
    font-size: 18px;
}
.navbar-nav li.open a.dropdown-toggle
{
    text-decoration: none;
    background-color: #eee;
    box-shadow: none;
}
.open > .dropdown-menu
{
    display: block;
}
.dropdown-menu.pull-right
{
    left: auto;
    right: 0;
}

.dropup > .dropdown-menu
{
    top: auto;
    bottom: 100%;
    margin-bottom: 2px;
}

.container
{
     height: 100%;
     
}
/*sidebar*/
#sidebar1
{
    height:100%;
    background-color: #1e1e1e;
    z-index: 8888;
    float: left;
    padding-top:10px;
}

.main
{
    position:absolute;
    top:46px;
    left:152px;
    right:0;
    bottom:0;
    background:#ffffff;
}

.menu > li > a .menu-icon{
	/*font-size: 22px !important;*/
	/*margin: 13px 0 !important;*/
}

.fa-chain:before {  
	content: url(../../img/ico_menu3.png);
}
.fa-finance:before {  
	content: url(../../img/finance.png);
}
.fa-purchase:before {  
	content: url(../../img/purchase.png);
}
.fa-table:before {  
	content: url(../../img/dishes.png);
}
.fa-database:before{
	content: url(../../img/delivery.png);
}
.fa-area-chart:before{
	content: url(../../img/analyse.png);
}
.fa-coffee:before{
	content: url(../../img/promotion.png);
}
.fa-android:before{
	content: url(../../img/stock.png);
}
.fa-stock:before{
	content: url(../../img/assistant.png);
}
.fa-globe:before{
	content: url(../../img/business.png);
}
.fa-desktop:before{
	content: url(../../img/system.png);
}
.fa-mall:before{
	content: url(../../img/retail.png);
}
.fa-apply:before {
    content: url(../css/images/hc2.png);
}
.fa-market:before {
    content: url(../css/images/hc3.png);
}
.fa-cashier:before {
    content: url(../css/images/hc1.png);
}
.fa-entry:before {
    content: url(../css/images/hc4.png);
}
.fr {
    float: right;
}
@media screen and (min-width: 1000px) and (max-width: 1300px) {
    .navbar-right {
        width: 85%;
    }

}